package com.sip.stream.gbstack.RespondModel;

import com.google.gson.annotations.SerializedName;
import com.sip.stream.gbstack.GS28181SDK;

//GB28181目录（视频通道Model）
public class GS28181DeviceCatalogRespondModel {
    private int rtpNetMtu = 1200;
    private long sessionHandle;
    private String deviceGBCode = GS28181SDK.getInstance().getConfig().getDeviceGBCode();
    private String deviceName = GS28181SDK.getInstance().getConfig().getDeviceName();
    private String manufacturer = GS28181SDK.getInstance().getConfig().getManufacturer();
    private String model = GS28181SDK.getInstance().getConfig().getModel();
    private String owner = GS28181SDK.getInstance().getConfig().getOwner();
    private String civilCode = GS28181SDK.getInstance().getConfig().getCivilCode();
    private String block = GS28181SDK.getInstance().getConfig().getBlock();
    private String address = GS28181SDK.getInstance().getConfig().getAddress();
    private String parentID = GS28181SDK.getInstance().getConfig().getParentID();
    private String endTime = GS28181SDK.getInstance().getConfig().getEndTime();
    private String certNum = GS28181SDK.getInstance().getConfig().getCertNum();
    private String password = GS28181SDK.getInstance().getConfig().getDevicePassword();
    private String ipAddress = GS28181SDK.getInstance().getConfig().getAddress();
    private int port = GS28181SDK.getInstance().getConfig().getPort();
    private int parental = GS28181SDK.getInstance().getConfig().getParental();
    private int safetyWay = GS28181SDK.getInstance().getConfig().getSafetyWay();
    private int registerWay = GS28181SDK.getInstance().getConfig().getRegisterWay();
    private int certifiable = GS28181SDK.getInstance().getConfig().getCertifiable();
    private int errCode = GS28181SDK.getInstance().getConfig().getCerErrCode();

    @SerializedName("secrecy")
    private int secrecy = GS28181SDK.getInstance().getConfig().getSecrecy();

    @SerializedName("status")
    private int status = GS28181SDK.getInstance().getStatus().getStatus();

    @SerializedName("longitude")
    private double longitude = GS28181SDK.getInstance().getStatus().getLongitude();

    @SerializedName("latitude")
    private double latitude = GS28181SDK.getInstance().getStatus().getLatitude();

    public GS28181DeviceCatalogRespondModel(long sessionHandle) {
        this.sessionHandle = sessionHandle;
        this.rtpNetMtu = GS28181SDK.getInstance().getConfig().getRtpNetMtu();
    }

    public long getSessionHandle() {
        return this.sessionHandle;
    }

    public String getDeviceGBCode() {
        return this.deviceGBCode;
    }

    public void setDeviceGBCode(String deviceGBCode) {
        this.deviceGBCode = deviceGBCode;
    }

    public String getDeviceName() {
        return this.deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getManufacturer() {
        return this.manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getModel() {
        return this.model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getOwner() {
        return this.owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getCivilCode() {
        return this.civilCode;
    }

    public void setCivilCode(String civilCode) {
        this.civilCode = civilCode;
    }

    public String getBlock() {
        return this.block;
    }

    public void setBlock(String block) {
        this.block = block;
    }

    public String getAddress() {
        return this.address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getParentID() {
        return this.parentID;
    }

    public void setParentID(String parentID) {
        this.parentID = parentID;
    }

    public String getEndTime() {
        return this.endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCertNum() {
        return this.certNum;
    }

    public void setCertNum(String certNum) {
        this.certNum = certNum;
    }

    public String getPassword() {
        return this.password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getIpAddress() {
        return this.ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public int getPort() {
        return this.port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public int getParental() {
        return this.parental;
    }

    public void setParental(int parental) {
        this.parental = parental;
    }

    public int getSafetyWay() {
        return this.safetyWay;
    }

    public void setSafetyWay(int safetyWay) {
        this.safetyWay = safetyWay;
    }

    public int getRegisterWay() {
        return this.registerWay;
    }

    public void setRegisterWay(int registerWay) {
        this.registerWay = registerWay;
    }

    public int getCertifiable() {
        return this.certifiable;
    }

    public void setCertifiable(int certifiable) {
        this.certifiable = certifiable;
    }

    public int getErrCode() {
        return this.errCode;
    }

    public void setErrCode(int errCode) {
        this.errCode = errCode;
    }

    public int getSecrecy() {
        return this.secrecy;
    }

    public void setSecrecy(int secrecy) {
        this.secrecy = secrecy;
    }

    public int getStatus() {
        return this.status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public double getLongitude() {
        return this.longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return this.latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }
}
